package com.donquijote.proxy.service.impl;

import com.donquijote.proxy.service.OrderService;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-26 09:35
 */
public class OrderServiceImplSub extends OrderServiceImpl implements Cloneable{

    @Override
    public void generate() {
        long start = System.currentTimeMillis();
        super.generate();
        System.out.println(System.currentTimeMillis() - start + "毫秒");
    }

    @Override
    public void detail() {
        long start = System.currentTimeMillis();
        super.detail();
        System.out.println(System.currentTimeMillis() - start + "毫秒");
    }

    @Override
    public void modify() {
        long start = System.currentTimeMillis();
        super.modify();
        System.out.println(System.currentTimeMillis() - start + "毫秒");
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
